|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bootchart.parser.HeaderParser
public class HeaderParser
HeaderParser parses the header log file, which contains
the chart title and basic information about the system, OS release,
CPU, etc.
| Constructor Summary | |
|---|---|
HeaderParser()
|
|
| Method Summary | |
|---|---|
static int |
getNumCPUs(Properties headers)
Get the number of CPUs from the system.cpu header
property. |
static Properties |
oldParseLog(BufferedReader reader)
Parses the header log file (old version). |
static Properties |
parseLog(InputStream is)
Parses the header log file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HeaderParser()
| Method Detail |
|---|
public static Properties parseLog(InputStream is)
throws IOException
Properties instance
should contain at least the following values:
is - the input stream to read from
IOException - if an I/O error occurs
public static Properties oldParseLog(BufferedReader reader)
throws IOException
reader - the reader to read from
IOException - if an I/O error occurspublic static int getNumCPUs(Properties headers)
system.cpu header
property.
headers - header properties
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||